#include "widget.h"
#include "ui_widget.h"
#include"QLabel"
#include"mylabel.h"
Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    QLabel* label=new QLabel(this);
    label->setText("Hello World");
    MyLabel* mylabel=new MyLabel(this);
    mylabel->setText("This is mylabel");
}

Widget::~Widget()
{
    delete ui;
}

